package com.td.module.equipment.controller.admin.waterpump.vo;

import lombok.*;
import java.util.*;
import io.swagger.annotations.*;
import com.td.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.td.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel("管理后台 - 水泵信息分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class PumpPageReqVO extends PageParam {

    @ApiModelProperty(value = "设备名称", example = "张三")
    private String name;

    @ApiModelProperty(value = "编号")
    private String serialNum;

    @ApiModelProperty(value = "阀位值")
    private Integer valveValue;

    @ApiModelProperty(value = "设备在线状态 (0 离线，1 在线)")
    private Integer online;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
